package ua.kharkov.photo.dal;

import java.util.List;

import ua.kharkov.photo.model.User;
import ua.kharkov.photo.model.UserToRegister;

public interface UserRepository {

	public void registerUser(UserToRegister user);

	public boolean autorizeUser(User user);

	public boolean isUserExist(String userName);

	public List<User> getAllUsers();
}
